During the freedom struggle, Shah had launched revolts in the Awadh region. He made the local mosque, Masjid Sarai, located in Chowk area of Faizabad his headquarters. As he liberated Faizabad and larger part of Awadh region, he used the premises of this mosque to hold meetings with rebel leaders.